package com.qfedu.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;

public class Materials implements Serializable {
    @ApiModelProperty(value = "原材料编号")
    private Integer materialsId;

    @ApiModelProperty(value = "原材料名称")
    private String materialsName;

    @ApiModelProperty(value = "所属分类编号")
    private Integer materialsTypeId;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "尺寸")
    private String size;

    @ApiModelProperty(value = "材质")
    private String texture;

    @ApiModelProperty(value = "材质分类")
    private String textureType;

    @ApiModelProperty(value = "密度")
    private String density;

    @ApiModelProperty(value = "直径")
    private String diameter;

    @ApiModelProperty(value = "长度")
    private String length;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "单位重量")
    private String unitWeight;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "基材单价")
    private BigDecimal substrateUnitPrice;

    @ApiModelProperty(value = "加工费")
    private BigDecimal processingCharges;

    @ApiModelProperty(value = "是否启用")
    private String enable;

    private static final long serialVersionUID = 1L;

    public Integer getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(Integer materialsId) {
        this.materialsId = materialsId;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public Integer getMaterialsTypeId() {
        return materialsTypeId;
    }

    public void setMaterialsTypeId(Integer materialsTypeId) {
        this.materialsTypeId = materialsTypeId;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getTexture() {
        return texture;
    }

    public void setTexture(String texture) {
        this.texture = texture;
    }

    public String getTextureType() {
        return textureType;
    }

    public void setTextureType(String textureType) {
        this.textureType = textureType;
    }

    public String getDensity() {
        return density;
    }

    public void setDensity(String density) {
        this.density = density;
    }

    public String getDiameter() {
        return diameter;
    }

    public void setDiameter(String diameter) {
        this.diameter = diameter;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnitWeight() {
        return unitWeight;
    }

    public void setUnitWeight(String unitWeight) {
        this.unitWeight = unitWeight;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getSubstrateUnitPrice() {
        return substrateUnitPrice;
    }

    public void setSubstrateUnitPrice(BigDecimal substrateUnitPrice) {
        this.substrateUnitPrice = substrateUnitPrice;
    }

    public BigDecimal getProcessingCharges() {
        return processingCharges;
    }

    public void setProcessingCharges(BigDecimal processingCharges) {
        this.processingCharges = processingCharges;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", materialsId=").append(materialsId);
        sb.append(", materialsName=").append(materialsName);
        sb.append(", materialsTypeId=").append(materialsTypeId);
        sb.append(", specification=").append(specification);
        sb.append(", size=").append(size);
        sb.append(", texture=").append(texture);
        sb.append(", textureType=").append(textureType);
        sb.append(", density=").append(density);
        sb.append(", diameter=").append(diameter);
        sb.append(", length=").append(length);
        sb.append(", unit=").append(unit);
        sb.append(", unitWeight=").append(unitWeight);
        sb.append(", unitPrice=").append(unitPrice);
        sb.append(", substrateUnitPrice=").append(substrateUnitPrice);
        sb.append(", processingCharges=").append(processingCharges);
        sb.append(", enable=").append(enable);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}